package com.example.comment.mq.config;

import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author QingZeyu
 * @date 2024/5/9 13:27
 */
@Configuration
@EnableConfigurationProperties(CommentMqProperties.class)
public class CommentMqConfiguration {
    @Bean
    public CommentMqProperties commentMqProperties(CommentMqProperties commentMqProperties){
        return commentMqProperties;
    }
}
